package com.sf.fy.uav.common.request.operate;

import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 提现
 *
 * @author 01430312
 */
@Data
public class WithdrawalRequest {

    @ApiModelProperty("提现用户id")
    @NotBlank(message = "提现用户id不能为空")
    private String userId;


    @ApiModelProperty("提现金额")
    @NotNull(message = "提现金额不能为空")
    private BigDecimal withdrawalAmount;


    @ApiModelProperty("用于获取openid")
    @NotBlank(message = "loginCode不能为空")
    private String loginCode;
}
